package com.lyc.dao;

import com.lyc.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    //用户登录方法
    public Users login(String utel,String upass);
    //用户注册
    public int regist(Users user);

    //用户修改密码
   public int updateUser(String upass,Integer uid);
    //查询该用户手机号是否已注册
   public Users selectTel(String utel);


    /*后台*/
    public Users houtailogin(String name);

    public List<Users> selectAll();

    public int delete(int id);

    public int insert(Users users);

    public int update(Users users);

    public int deleteSelect(List<String> list);
}
